import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import get from '@dfeidao/atom-web/local/get';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
export default async function a002(fd: IFeidaoAiBrowserComponent) {
	const no = get(fd, 'no');
	console.log(no);
	const res = await nodejs<{ code: number }>('train-plan/zj-000007/s001', {
		train_nmuber: no
	});
	if (res.code === 1) {
		alert("删除成功");
		window.location.reload();
	}
}
